from flask import request, jsonify

from Common import *

@app.route("/DetectApi/Setter/SetModelSavePath")
def set_model_save_path():
    set_save_path(request.get_json().get('model_save_path'))
    return jsonify({'status': 'ok'})